# $URL: http://readfluka.googlecode.com/svn/trunk/Makefile.inc $
# $Id: Makefile.inc 48 2010-04-20 09:09:01Z batkov $
# $Date: 2010-04-20 09:09:01 +0000 (Tue, 20 Apr 2010) $

date=`date +%y%m%d`
PWD=$(shell pwd)

ROOTCONFIG :=	root-config
ARCH       :=	$(shell $(ROOTCONFIG) --arch)
PLATFORM   :=	$(shell $(ROOTCONFIG) --platform)

ROOTCFLAGS :=	$(shell $(ROOTCONFIG) --cflags)
ROOTGLIBS  := $(shell root-config --glibs)
ROOTLIBS   := $(shell $(ROOTCONFIG) --libs)
#OPT         = -g
MEMCHECK = $(shell $(ROOTCONFIG) --new --libs)
#MEMCHECK = ""

CXXFLAGS		=	$(OPT) -Wall -fPIC
LDFLAGS			=	$(OPT)
SOFLAGS			=	-shared
GCC = g++


#clean_common:
#	@rm -fv *~ *.o obj/* */*~
